package com.gyaruo;

import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.view.View;

public class GyaruoView extends View {


	public GyaruoView(Context context) {
		super(context);
	}

	@Override
	protected void onDraw(Canvas canvas) {
		Bitmap bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.fuji);
		Rect src = new Rect(0,0,bitmap.getWidth(),bitmap.getHeight());
		Rect rect = new Rect(0,0,200,200);
		canvas.drawBitmap(bitmap, src, rect, null);
		//hoge


	}

}
